﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User/MasterPage.master" AutoEventWireup="true" CodeFile="ProductList.aspx.cs" Inherits="User_ProductList" %>

<%@ Register assembly="CollectionPager" namespace="SiteUtils" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="inside">
				
				<div id="items">
                <img src="images/product.png" alt=""  /><br /> 
                    <asp:DataList ID="dlDSSanPham" runat="server" RepeatColumns="3">
                        <ItemTemplate>
                        <div class="item">
                        <div style="padding:3px;">
						<a href='<%# "ProductDetail.aspx?MaSP="+Eval("MaSP")+"&LoaiSP="+Eval("LoaiSP")%>'> 
                        <asp:Image ID="Image1" runat="server" width="207px" height="186px" 
                                ImageUrl='<%# "~/User/HinhAnh/"+ Eval("HinhAnh") %>' /></a></div>
                        <div style="padding:3px">
						    <p>
                            <asp:HyperLink ID="HyperLink1" runat="server" 
                                NavigateUrl='<%# "~/User/ProductDetail.aspx?MaSP="+Eval("MaSP")+"&LoaiSP="+Eval("LoaiSP") %>'>Chi Tiết</asp:HyperLink>
                            </p><span class="price"> 
                                <asp:Label ID="Label2" runat="server" 
                                Text='<%# Eval("Gia","{0:0,00#VND}") %>'></asp:Label></span>
                                <br />
                                 
                                            
                                &nbsp;<div class="basic" id="<%#Eval("Diem")%>_1"></div><br />
                                </div>
					    </div>
                        </ItemTemplate>
                    </asp:DataList>
                    
				
				</div>
			     <div class="productpagging">
                 <cc1:CollectionPager ID="CollectionPager1" runat="server" BackText="" 
        LabelText="" NextText="" ResultsFormat="" 
                        PageNumbersSeparator="&amp;nbsp;&amp;nbsp;">
    </cc1:CollectionPager>
                </div>
			</div>
</asp:Content>

